<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>装配大纲 Assembly Outline</title>
</head>
<body>
<style>
    table {
        border-collapse: collapse;
        width: 100%;
        border: 1px solid black;
        table-layout: fixed;
        word-wrap: break-word;
        word-break: break-all;
        overflow-wrap: break-word;
    }

    th, td {
        text-align: left;
        padding: 8px;
        border: 1px solid black;
        word-break: break-all;
        word-wrap: break-word;
        overflow-wrap: break-word;
        font-size: 14px;
    }
    th {
        background-color: aliceblue;
        text-align: center;
    }

    div {
        display: block;
        justify-content: center;
        align-items: center;
    }

    .parent {
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        overflow: auto;
        border: 1px solid black;
        padding: 5px;
    }
</style>
<div class="parent">
    <#escape x as x!"">
    <div>
        <h5>装配大纲 Assembly Outline</h5>
        <table>
            <#escape x as x!"">
            <tr>
                <#if assembly??>
                <td>
                    <span class="label">AO编号/AO NO:</span>
                    <span>${assembly.AONO}</span>
                </td>
                <td>
                    <span class="label">AO名称/AO NAME:</span>
                    <span>${assembly.title}</span>
                </td>
                <td>
                    <span class="label">版次/ED:</span>
                    <span>${assembly.version}</span>
                </td>
            </tr>
            <tr>
                <td>
                    <span class="label">机型/ MODEL:</span>
                    <span>${assembly.project}</span>
                </td>
                <td>
                    <span class="label">工位/DEPT:</span>
                    <span>${assembly.dept}</span>
                </td>
                <td>
                    <span class="label">站位 ACC/CHART:</span>
                    <span>${assembly.chart}</span>
                </td>
            </tr>
            <tr>
                <td>
                    <span class="label">工艺路线/PROCESS ROUTE:</span>
                    <span>${assembly.technology}</span>
                </td>
            </tr>
            <tr>
                <td>
                    <span class="label">制造流水号/MLN:</span>
                    <span>${assembly.EFF}</span>
                </td>
                <td>
                    <span class="label">厂房编号WORKSHOP:</span>
                    <span>${assembly.workshopNumber}</span>
                </td>
                <td>
                    <span class="label">开工/START:</span>
                    <#if assembly.startWorkNo?has_content && assembly.startWorkName?has_content && assembly.startWorkDate?has_content>
                       <span>[${assembly.startWorkNo}] ${assembly.startWorkName} ${assembly.startWorkDate}</span>
                    </#if>
                </td>
            </tr>
            <tr>
                <td>
                    <span class="label">AO状态/AO STATUS:</span>
                    <span>${assembly.aoStatusName}</span>
                </td>
                <td>
                    <span class="label">工单号 ORDER NUMBER:</span>
                    <span>${assembly.documentCode}</span>
                </td>
                <td>
                    <span class="label">同意归档/OK TO FILE:</span>
                    <#if assembly.endWorkNo?has_content && assembly.endWorkName?has_content && assembly.endWorkDate?has_content>
                       <span>[${assembly.endWorkNo}] ${assembly.endWorkName} ${assembly.endWorkDate}</span>
                    </#if>
                </td>
                </#if>
            </tr>
            </#escape>
        </table>
    </div>
    <div>
        <h5>图标展示 ICON DISPLAY</h5>
        <div>
            <#if aosrIconList??>
            <#list aosrIconList as icon>
                <#escape x as x!"">
                <tr>
                    <span>${icon.descLinkWord}</span>
                    <span>${icon.desc}</span>
                    <img src="${icon.url}"></img>
                </tr>
                </#escape>
            </#list>
            </#if>
        </div>
        <div>
            <h5>墨水更改通知(ICN)</h5>
            <div>
        <#if inkChangeRecord??>
        <#assign count = 0>
        <#list inkChangeRecord as ink>
            <#if count == 3>
                <br>
                <#assign count = 0>
            </#if>
                 <span>${ink.icnNo}&nbsp;&nbsp;&nbsp;</span>
            <#assign count = count + 1>
        </#list>
        </#if>
            </div>
        </div>
        <div>
            <h5>相关AAO RELATED AAO</h5>
            <div>
        <table>
        <#if relatedAAO??>
        <#assign count = 0>
        <#list relatedAAO as aao>
            <#if count == 3>
                <br>
                <#assign count = 0>
            </#if>
                 <span>${aao.aoNo}&nbsp;&nbsp;&nbsp;</span>
                <#assign count = count + 1>
        </#list>
        </#if>
        </table>
            </div>
            <div>
                <h5>签审 SIGNATURE EXAMINATION</h5>
                <div>
                    <table>
                        <thead>
                        <tr>
                            <th>编制PLANNER</th>
                            <th>校对CHECKER</th>
                            <th>审核VERIFIER</th>
                            <th>审查QA REVISE</th>
                            <th>批准APPROVER</th>
                        </tr>
                        </thead>
                        <tbody>
                           <#escape x as x!"">
                           <#if signatureExamination??>
                           <td>
                           <#if signatureExamination[0]?has_content>
                           ${signatureExamination[0].value}
                           </#if>
                           </td>
                           <td>
                           <#if signatureExamination[1]?has_content>
                           ${signatureExamination[1].value}
                           </#if>
                           </td>
                           <td>
                           <#if signatureExamination[2]?has_content>
                           ${signatureExamination[2].value}
                           </#if>
                           </td>
                           <td>
                            <#if signatureExamination[3]?has_content>
                           ${signatureExamination[3].value}
                            </#if>
                           </td>
                           <td>
                             <#if signatureExamination[4]?has_content>
                           ${signatureExamination[4].value}
                             </#if>
                           </td>
                           </#if>
                           </#escape>
                        </tbody>
                    </table>
                </div>
            </div>
            <div>
                <h5>工单开工撤卡记录：</h5>
                <div>
                    <table>
                        <thead>
                        <tr>
                            <th>撤销刷卡人</th>
                            <th>时间</th>
                        </tr>
                        </thead>
                        <tbody>
            <#list aoStartRevokeRecord as startRevokeRecord >
            <tr>
                <td>
                    ${startRevokeRecord.workName}
                </td>
                <td>
                    ${startRevokeRecord.workDate}
                </td>
            </tr>
            </#list>
                        </tbody>
                    </table>
                </div>
            </div>
            <div>
                <h5>任务说明 JOB DESCRIPTIONS</h5>
                <div>
                    <#if jobDescription??>
                     <#if jobDescription.topic??>
                    <span>专业:</span><span>${jobDescription.topic.speciality}</span>
                    <span>区域:</span><span>${jobDescription.topic.area}</span>
                    <span>主题:</span><span>${jobDescription.topic.topicName}</span>
                     </#if>
                    <table>
                        <thead>
                        <tr>
                            <th>序号</th>
                            <th>注意事项</th>
                        </tr>
                        </thead>
                        <tbody>
            <#if jobDescription.attentions??>
            <#list jobDescription.attentions.data as attention >
            <tr>
                <td>
                    ${attention.no}
                </td>
                <td>
                    ${attention.title}
                </td>
            </tr>
            </#list>
            </#if>
                        </tbody>
                        <span>备注:</span><span>${jobDescription.remark}</span>
                    </table>
                    </#if>
                </div>
            </div>
            <div>
                <h5>修订原因 REVISION REASON</h5>
                <div>
                    <span>${revisionReason}</span>
                </div>
            </div>
            <div>
                <h5>所需图纸 DRAWINGS REQUIRED</h5>
                <div>
                    <table>
                        <thead>
                        <tr>
                            <th>工程图样编号 DRAWING NO</th>
                            <th>工程图样版次 ENGG DWG ED</th>
                            <th>适用的工程更改 APPLICABLED EO’S</th>
                            <th>备注REMARK</th>
                        </tr>
                        </thead>
                        <tbody>
            <#if drawingRequired.data??>
            <#list drawingRequired.data as  draw>
            <tr>
                <td>
                    ${draw.drawingNo}
                </td>
                <td>
                    ${draw.revision}
                </td>
                <td>
                    ${draw.order}
                </td>
                <td>
                    ${draw.remark}
                </td>
            </tr>
            </#list>
            </#if>
                        </tbody>
                    </table>
                </div>
            </div>
            <div>
                <h5>参考图样 REFERENCE DRAWINGS</h5>
                <div>
                    <table>
                        <thead>
                        <tr>
                            <th>工程图样编号 DRAWING NO</th>
                            <th>工程图样版次 ENGG DWG ED</th>
                            <th>适用的工程更改 APPLICABLED EO’S</th>
                            <th>备注REMARK</th>
                        </tr>
                        </thead>
                        <tbody>
            <#if refDrawingRequired.data??>
            <#list refDrawingRequired.data as  refDrawing>
            <tr>
                <td>
                    ${refDrawing.drawingNo}
                </td>
                <td>
                    ${refDrawing.revision}
                </td>
                <td>
                    ${refDrawing.order}
                </td>
                <td>
                    ${refDrawing.remark}
                </td>
            </tr>
            </#list>
            </#if>
                        </tbody>
                    </table>
                </div>
            </div>
            <div>
                <h5>所需一般资料GENERAL INFORMATION REQUIRED</h5>
                <div>
                    <table>
                        <thead>
                        <tr>
                            <th>文件号DOCUMENT NO</th>
                            <th>文件名称DOCUMENT NAME</th>
                            <th>版次ED</th>
                        </tr>
                        </thead>
                        <tbody>
            <#if generalInformation.data??>
            <#list generalInformation.data as  general>
            <tr>
                <td>
                    ${general.code}
                </td>
                <td>
                    ${general.name}
                </td>
                <td>
                    ${general.version}
                </td>
            </tr>
            </#list>
            </#if>
                        </tbody>
                    </table>
                </div>
            </div>
            <div>
                <h5>所需工艺标准/规范 PROCESS STANDARDS REQUIRED</h5>
                <div>
                    <table>
                        <thead>
                        <tr>
                            <th>标准/规范号 PROCESS STANDAND NO.</th>
                            <th>标准/规范名称 PROCESS STANDAND NAMEE</th>
                            <th>版次ED</th>
                        </tr>
                        </thead>
                        <tbody>
            <#if processStandRequired??>
            <#if processStandRequired.data??>
            <#list processStandRequired.data as  process>
            <tr>
                <td>
                    ${process.processStandNo}
                </td>
                <td>
                    ${process.processStandName}
                </td>
                <td>
                    ${process.processStandVersion}
                </td>
            </tr>
            </#list>
            </#if>
            </#if>

                        </tbody>
                    </table>
                </div>
            </div>
            <div>
                <h5>所需零件 PARTS REQUIRED</h5>
                <div>
                    <table>
                        <thead>
                        <tr>
                            <th>标图号/件号 DRAWING/PART NO.</th>
                            <th>零件名称 PART NAME</th>
                            <th>数量 QTY</th>
                            <th>更改字母 CHG-LTR</th>
                            <th>零件代码 PART CODE</th>
                            <th>定位方式 JIG & HAND</th>
                            <th>物料编码 ITEM CODE</th>
                            <th>工程下级装配件 ENGINEERING NEXT ASSY</th>
                            <th>区域/站位 ZONE/CHART</th>
                            <th>是否配送 DIPATCH OR NOT</th>
                            <th>替代依据 SUBSTITUTION REFERENCE</th>
                            <th>替代物料编码 SUBSTITUTIVE MATERIAL STUFF CODE</th>
                            <th>替代物料件号 PART NOSUBSTITUTED</th>
                            <th>替代数量 SUBSTITUTION QUANTITY</th>
                            <th>备注REMARK</th>
                        </tr>
                        </thead>
                        <tbody>

            <#list partsRequired.data as  part>
            <tr>
                <td>
                    ${part.partNo}
                </td>
                <td>
                    ${part.partName}
                </td>
                <td>
                    ${part.qty}
                </td>
                <td>
                    ${part.chgltr}
                </td>
                <td>
                    ${part.SPC}
                </td>
                <td>
                    ${part.jig}
                </td>
                <td>
                    ${part.stuffCode}
                </td>
                <td>
                    ${part.usedOn}
                </td>
                <td>
                    ${part.zoneStaLoc}
                </td>
                <td>
                    ${part.isSend}
                </td>
                <td>
                    ${part.reJobNumber}
                </td>
                <td>
                    ${part.reStuffCode}
                </td>
                <td>
                    ${part.rePartNo}
                </td>
                <td>
                    ${part.rePartQty}
                </td>
                <td>
                    ${part.remark}
                </td>
            </tr>
            </#list>
                        </tbody>
                    </table>
                </div>
            </div>
            <div>
                <h5>零件注释 PART LABEL</h5>
                <div>
                    <table>
                        <thead>
                        <tr>
                            <th>注释 NOTE</th>
                            <th>注释内容 DESCRIPTIONS OF NOTE</th>
                        </tr>
                        </thead>
                        <tbody>
            <#list partsLabel.data as  part>
            <tr>
                <td>
                    ${part.note}
                </td>
                <td>
                    ${part.description}
                </td>
            </tr>
            </#list>
                        </tbody>
                    </table>
                </div>
            </div>
            <div>
                <h5>飞走材料 MATERIAL FLY AWAY</h5>
                <div>
                    <table>
                        <thead>
                        <tr>
                            <th>牌号BRAND</th>
                            <th>材料信息/MATERIAL INFORMATION</th>
                            <th>材料规范 MATERIAL SPECIFICATION</th>
                            <th>参考剂量 REFERENCE DOSE</th>
                            <th>剂量单位 UNIT DOSE</th>
                            <th>替代依据 SUBSTITUTION REFERENCE</th>
                            <th>替代牌号 BRAND SUBSTITUTED</th>
                            <th>替代规范 SPECIFICATION SUBSTITUTE</th>
                            <th>替代材料信息 MATERIAL INFORMATION SUBSTITUTED</th>
                            <th>备注 REMARK</th>
                            <th>是否配送 DIPATCH OR NOT</th>
                        </tr>
                        </thead>
                        <tbody>
            <#list flightMaterial.data as  flight>
            <tr>
                <td>
                    ${flight.flightNo}
                </td>
                <td>
                    ${flight.flightName}
                </td>
                <td>
                    ${flight.standard}
                </td>
                <td>
                    ${flight.qty}
                </td>
                <td>
                    ${flight.unit}
                </td>
                <td>
                    ${flight.reJobNumber}
                </td>
                <td>
                    ${flight.rePH}
                </td>
                <td>
                    ${flight.reStandard}
                </td>
                <td>
                    ${flight.reMaterial}
                </td>
                <td>
                    ${flight.remark}
                </td>
                <td>
                    ${flight.isSend}
                </td>
            </tr>
            </#list>
                        </tbody>
                    </table>
                </div>
            </div>
            <div>
                <h5>所需工装 TOOLS REQUIRED</h5>
                <div>
                    <table>
                        <thead>
                        <tr>
                            <th>工装号 TOOLING NUMBER</th>
                            <th>工装名称TOOLING NAME</th>
                            <th>T次 TOOLING VERSION</th>
                        </tr>
                        </thead>
                        <tbody>
            <#if toolsRequired.plain.data??>
            <#list toolsRequired.plain.data as  tool>
            <tr>
                <td>
                    ${tool.requiredNo}
                </td>
                <td>
                    ${tool.requiredName}
                </td>
                <td>
                    ${tool.tno}
                </td>
            </tr>
            </#list>
            </#if>
                        </tbody>
                    </table>
                </div>
            </div>
            <div>
                <h5>安全类别SECURITY CATEGORY</h5>
                <div>
                    <table id="security">
                        <thead>
                        <tr>
                            <th>序号NO.</th>
                            <th>类别CATEGORY</th>
                            <th>相关车间WORKSHOP RELATED</th>
                        </tr>
                        </thead>
                        <tbody>
            <#list securitySign.data as  security>
            <tr>
                <td>${security?counter}</td>
                <td>
                    ${security.securityType}
                </td>
                <td>
                    ${security.securityDepartment}
                </td>
            </tr>
            </#list>
                        </tbody>
                    </table>
                </div>
            </div>


        </div>
    </div>
    <div>
        <h5>工作内容 WORK INSTRUCTIONS</h5>
        <table>
            <colgroup>
                <col style="width:5%">
                <col style="width:95%">
            </colgroup>
            <thead>
            <tr>
                <th>工序号SEQ</th>
                <th>工序内容 PROCESS INSTRUCTIONS</th>
            </tr>
            </thead>
        <tbody>
            <#list workInstructions as  work>
            <tr>
                <td>
                    <span>${work.workInfo.workNo}</span>
                </td>
                <td>
                    <table>
                        <span>图标显示:</span>
                        <#if work.workIconList??>
                        <#list work.workIconList as  icon>
                        <tr>
                            <td>
                                <span>${icon.desc}</span></br>
                                <image url="${icon.url}"></image>
                            </td>
                        </tr>
                        </#list>
                        </#if>
                        <table>
                            <thead>
                            <tr>
                                <th>撤销刷卡人</th>
                                <th>时间</th>
                                <th>撤卡类型</th>
                            </tr>
                            </thead>
                            <tbody>
                        <#if work.aoWorkRevokeRecord??>
                        <#list work.aoWorkRevokeRecord as record>
                        <tr>
                            <td>
                                ${record.workName}
                            </td>
                            <td>
                                ${record.workDate}
                            </td>
                            <td>
                                ${record.revokeType}
                            </td>
                        </tr>
                        </#list>
                        </#if>
                            </tbody>
                        </table>
                        <table>
                            <span>PI信息</span>
                            <thead>
                            <tr>
                                <th>PI编号</th>
                                <th>PI类型</th>
                                <th>问题类型</th>
                                <th>影响一次提交合格率</th>
                                <th>偏离是否<br>本工序产生</th>
                                <th>偏离来源</th>
                                <th>PI内容</th>
                                <th>关联编号</th>
                                <th>关联简述</th>
                                <th>PI状态</th>
                                <th>创建人</th>
                                <th>完工/质保<br>检验人</th>
                                <th>质保/适航<br>检验人</th>
                            </tr>
                            </thead>
                            <tbody>
                        <#if work.piInfo??>
                        <#if work.piInfo.data??>
                        <#list work.piInfo.data as pi>
                        <tr>
                            <#escape x as x!"">
                            <td>
                                ${pi.id}
                            </td>
                            <td>
                                ${pi.piType}
                            </td>
                            <td>
                                ${pi.questionType}
                            </td>
                            <td>
                                ${pi.isInfluence}
                            </td>
                            <td>
                                ${pi.devistion}
                            </td>
                            <td>
                                ${pi.devistionSource}
                            </td>
                            <td>
                                ${pi.piDesc}
                            </td>
                            <td>
                                ${pi.relationNo}
                            </td>
                            <td>
                                ${pi.relationDesc}
                            </td>
                            <td>
                                ${pi.piStatus}
                            </td>
                            <td>
                                ${pi.ownerename}
                            </td>
                            <td>
                                ${pi.operater}
                            </td>
                            <td>
                                ${pi.inspector}
                            </td>
                            </#escape>
                        </tr>
                        </#list>
                        </#if>
                        </#if>
                            </tbody>
                        </table>
                        <table>
                            <span>所需工艺标准</span>
                            <thead>
                            <tr>
                                <th>标准/规范号PROCESS STANDAND No.</th>
                                <th>标准/规范名称PROCESS STANDAND NAME</th>
                                <th>版次ED</th>
                            </tr>
                            </thead>
                            <tbody>
                        <#if work.processStandRequired??>
                        <#if work.processStandRequired.data??>
                        <#list work.processStandRequired.data as process>
                        <tr>
                            <#escape x as x!"">
                            <td>
                                ${process.processStandNo}
                            </td>
                            <td>
                                ${process.processStandName}
                            </td>
                            <td>
                                ${process.processStandVersion}
                            </td>
                            </#escape>
                        </tr>
                        </#list>
                        </#if>
                        </#if>
                            </tbody>
                        </table>
                        <table>
                            <thead>
                            <tr>
                                <th>文件号DOCUMENT No.</th>
                                <th>文件名称DOCUMENT NAME</th>
                                <th>版次ED</th>
                            </tr>
                            </thead>
                            <tbody
                        <#if work.generalInformation??>
                        <#if work.generalInformation.data??>
                        <#list work.generalInformation.data as general>
                        <tr>
                            <#escape x as x!"">
                            <td>
                                ${general.code}
                            </td>
                            <td>
                                ${general.name}
                            </td>
                            <td>
                                ${general.version}
                            </td>
                            </#escape>
                        </tr>
                        </#list>
                        </#if>
                        </#if>
                            </tbody>
                        </table>
                        <table>
                            <span>一般资料（操作规程）</span>
                            <thead>
                            <tr>
                                <th>文件号DOCUMENT No.</th>
                                <th>文件名称DOCUMENT NAME</th>
                                <th>版次ED</th>
                            </tr>
                            </thead>
                            <tbody>
                        <#if work.cxDocList??>
                        <#if work.cxDocList.data??>
                        <#list work.cxDocList.data as cxDoc>
                        <tr>
                            <#escape x as x!"">
                            <td>
                                ${cxDoc.oldDocNumber}
                            </td>
                            <td>
                                ${cxDoc.docName}
                            </td>
                            <td>
                                ${cxDoc.oldDocNumber}
                            </td>
                            </#escape>
                        </tr>
                        </#list>
                        </#if>
                        </#if>
                            </tbody>
                        </table>
                        <table>
                            <span>所需图纸</span>
                            <thead>
                            <tr>
                                <th>工程图样编号DRAWING NO</th>
                                <th>名称NAME</th>
                                <th>工程图样版次ENGG DWG ED</th>
                                <th>适用的工程更改APPLICABLE EO’S</th>
                                <th>备注REMARK</th>
                            </tr>
                            </thead>
                            <tbody>
                        <#if work.drawingRequired??>
                        <#if work.drawingRequired.data??>
                        <#list work.drawingRequired.data as drawing>
                        <tr>
                            <#escape x as x!"">
                            <td>
                                ${drawing.drawingNo}
                            </td>
                            <td>
                                ${drawing.drawingName}
                            </td>
                            <td>
                                ${drawing.revision}
                            </td>
                            <td>
                                ${drawing.order}
                            </td>
                            <td>
                                ${drawing.remark}
                            </td>
                            </#escape>
                        </tr>
                        </#list>
                        </#if>
                        </#if>
                            </tbody>
                        </table>
                        <table>
                            <span>参考图样</span>
                            <thead>
                            <tr>
                                <th>工程图样编号DRAWING NO</th>
                                <th>名称NAME</th>
                                <th>工程图样版次ENGG DWG ED</th>
                                <th>适用的工程更改APPLICABLE EO’S</th>
                                <th>备注REMARK</th>
                            </tr>
                            </thead>
                            <tbody>
                        <#if work.refDrawingRequired??>
                        <#if work.refDrawingRequired.data??>
                        <#list work.refDrawingRequired.data as refdrawing>
                        <tr>
                            <#escape x as x!"">
                            <td>
                                ${refdrawing.drawingNo}
                            </td>
                            <td>
                                ${refdrawing.drawingName}
                            </td>
                            <td>
                                ${refdrawing.revision}
                            </td>
                            <td>
                                ${refdrawing.order}
                            </td>
                            <td>
                                ${refdrawing.remark}
                            </td>
                            </#escape>
                        </tr>
                        </#list>
                        </#if>
                        </#if>

                            </tbody>
                        </table>
                        <table>
                            <span>所需零件 PARTS REQUIRED</span>
                            <thead>
                            <tr>
                                <th>图号/件号 DRAWING/PART NO</th>
                                <th>零件名称 PART NAME</th>
                                <th>数量 QTY</th>
                                <th>更改字母 CHG-LTR</th>
                                <th>零件代码 PART CODE</th>
                                <th>定位方式 JIG & HAND</th>
                                <th>物料编码 ITEM CODE</th>
                                <th>工程下级装配件 ENGINEERING NEXT ASSY</th>
                                <th>区域/站位 ZONE/CHART</th>
                                <th>是否配送 DIPATCH OR NOT</th>
                                <th>替代依据 SUBSTITUTION REFERENC</th>
                                <th>替代物料编码 SUBSTITUTIVE MATERIAL STUFF CODE</th>
                                <th>替代物料件号 PART NOSUBSTITUTED</th>
                                <th>替代数量 SUBSTITUTION QUANTITY</th>
                                <th>备注REMARK</th>
                                <th>消耗数量</th>
                            </tr>
                            </thead>
                            <tbody>
                        <#if work.partsRequired??>
                        <#if work.partsRequired.data??>
                        <#list work.partsRequired.data as part>
                        <tr>
                            <#escape x as x!"">
                            <td>
                                ${part.partNo}
                            </td>
                            <td>
                                ${part.partName}
                            </td>
                            <td>
                                ${part.qty}
                            </td>
                            <td>
                                ${part.chgltr}
                            </td>
                            <td>
                                ${part.spc}
                            </td>
                            <td>
                                ${part.jig}
                            </td>
                            <td>
                                ${part.stuffCode}
                            </td>
                            <td>
                                ${part.usedOn}
                            </td>
                            <td>
                                ${part.zoneStaLoc}
                            </td>
                            <td>
                                ${part.isSend}
                            </td>
                            <td>
                                ${part.reJobNumber}
                            </td>
                            <td>
                                ${part.reStuffCode}
                            </td>
                            <td>
                                ${part.rePartNo}
                            </td>
                            <td>
                                ${part.rePartQty}
                            </td>
                            <td>
                                ${part.remark}
                            </td>
                            <td>
                                ${part.usedNumber}
                            </td>
                            </#escape>
                        </tr>
                        </#list>
                        </#if>
                        </#if>
                            </tbody>
                        </table>
                        <table>
                            <span>所需工装</span>
                            <thead>
                            <tr>
                                <th>工装号 TOOLING NUMBER</th>
                                <th>工装名称 TOOLING NAME</th>
                                <th>T次 TOOLING VERSION</th>
                                <th>数量 QTY</th>
                                <th>备注 REMARK</th>
                            </tr>
                            </thead>
                            <tbody>
                        <#if work.drawingRequired??>
                        <#if work.drawingRequired.data??>
                        <#list work.toolsRequired.plain.data as tool>
                        <tr>
                            <#escape x as x!"">
                            <td>
                                ${tool.requiredNo}
                            </td>
                            <td>
                                ${tool.requiredName}
                            </td>
                            <td>
                                ${tool.tno}
                            </td>
                            <td>
                                ${tool.number}
                            </td>
                            <td>
                                ${tool.remark}
                            </td>
                            </#escape>
                        </tr>
                        </#list>
                        </#if>
                        </#if>
                            </tbody>
                        </table>
                        <table>
                            <span>飞走材料 MATERIAL FLY AWAY</span>
                            <thead>
                            <tr>
                                <th>物料编码</th>
                                <th>牌号/BRAND</th>
                                <th>规范/SPECIFICATION</th>
                                <th>参考剂量 REFERENCE DOSE</th>
                                <th>剂量单位/UNIT DOSE</th>
                                <th>零件有效性/MATERIAL INFORMATION</th>
                                <th>材料信息/MATERIAL INFORMATION</th>
                                <th>替代依据/SUBSTITUTION REFERENCE</th>
                                <th>代料物料编码</th>
                                <th>是否配送 DIPATCH OR NOT</th>
                                <th>备注 REMARK</th>
                                <th>替代牌号/BRAND SUBSTITUTED</th>
                                <th>替代材料信息/MATERIAL INFORMATION SUBSTITUTED</th>
                                <th>替代规范/SPECIFICATION SUBSTITUTED</th>
                                <th>消耗 数量</th>
                            </tr>
                            </thead>
                            <tbody>
                        <#if work.flightMaterial??>
                        <#if work.flightMaterial.data??>
                        <#list work.flightMaterial.data as  flight>
                        <tr>
                            <#escape x as x!"">
                            <td>
                                ${flight.stuffCode}
                            </td>
                            <td>
                                ${flight.flightNo}
                            </td>
                            <td>
                                ${flight.standard}
                            </td>
                            <td>
                                ${flight.qty}
                            </td>
                            <td>
                                ${flight.unit}
                            </td>
                            <td>
                                ${flight.EFF}
                            </td>
                            <td>
                                ${flight.flightName}
                            </td>
                            <td>
                                ${flight.reJobNumber}
                            </td>
                            <td>
                                ${flight.reMaterial}
                            </td>
                            <td>
                                ${flight.isSend}
                            </td>
                            <td>
                                ${flight.remark}
                            </td>
                            <td>
                                ${flight.rePH}
                            </td>
                            <td>
                                ${flight.reMaterial}
                            </td>
                            <td>
                                ${flight.reStandard}
                            </td>
                            <td>
                                ${flight.usedNumber}
                            </td>
                            </#escape>
                        </tr>
                        </#list>
                        </#if>
                        </#if>
                            </tbody>
                        </table>
                    </table>
                <td>
            </tbody>
            </#list>
        </table>
    </div>
    <div>
        <div>
            <h5>控制点检验CPI</h5>
            <div>
                <table>
                    <tbody>
            <#if cpi??>
            <#list cpi as cp>
            <tr>
                <#escape x as x!"">
                <td>
                    ${cp.aoNo}
                </td>
                </#escape>
            </tr>
            </#list>
            </#if>
                    </tbody>
                </table>
            </div>
        </div>
        <div>
            <h5>参考图样</h5>
            <div>
                <table>
                    <thead>
                    <tr>
                        <th>序号</th>
                        <th>ICL编号</th>
                        <th>关联工序</th>
                        <th>映射工序</th>
                    </tr>
                    </thead>
                    <tbody>
            <#if checkGraph??>
            <#if checkGraph.data??>
            <#list checkGraph.data as check>
            <tr>
                <td>
                    ${check.idx}
                </td>
                <td>
                    ${check.iclNo}
                </td>
                <td>
                    ${check.relation}
                </td>
                <td>
                    ${check.mapping}
                </td>
            </tr>
            </#list>
            </#if>
            </#if>
                    </tbody>
                </table>
            </div>
        </div>
        <div>
            <div>
                <table>
                    <thead>
                    <tr>
                        <th width="5%">序号Number</th>
                        <th width="5%">工序名称Name</th>
                        <th width="90%">检查图表内容</th>
                    </tr>
                    </thead>
                    <tbody>
            <#if checkGraph??>
            <#if checkGraph.checkGraphList??>
            <#list checkGraph.checkGraphList as check>
            <tr>
                <td>
                    ${check.checkNo}
                </td>
                <td>
                    ${check.title}
                </td>
                <td>
                <#if check.checkGraphPageInfo??>
                    <#list check.checkGraphPageInfo as pageInfo>
                        <span>${pageInfo.label}:</span>
                        <#list pageInfo.value as val>
                            <span> ${val.info}</span>
                        </#list>
                        <br>
                    </#list>
                </#if>
                    <span>附件:</span>
                    <#if check.files??>
                    <#if check.files.data??>
                    <#list check.files.data as file>
                        <span>${file.fileName}</span>
                    </#list>
                    </#if>
                    </#if>
                    <table>
                        <thead>
                        <tr>
                            <th colspan="3">工序撤卡记录</th>
                        </tr>
                        <tr>
                            <th>撤销刷卡人</th>
                            <th>时间</th>
                            <th>撤卡类型</th>
                        </tr>
                        </thead>
                        <tbody>
                            <#if check.aoCheckGraphRevokeRecord??>
                            <#list check.aoCheckGraphRevokeRecord as record>
                            <tr>
                                <td>
                                    <#if record.workNo?has_content && record.workName?has_content>
                                     <span>${record.workName}(${record.workNo})</span>
                                    </#if>
                                </td>
                                <td>
                                    ${record.workDate}
                                </td>
                                <td>
                                    ${record.workDate}
                                </td>
                            </tr>
                            </#list>
                            </#if>
                        </tbody>
                    </table>
                </td>
            </tr>
            </#list>
            </#if>
            </#if>
                    </tbody>
                </table>
            </div>
        </div>
        <div>
            <h5>附件 ATTACHMENT</h5>
            <div>
                <table>
                    <thead>
                    <tr>
                        <th>序号 Number</th>
                        <th>文件编号 DOCUMENT NUMBER</th>
                        <th>文件名称 DOCUMENT NAME</th>
                    </tr>
                    </thead>
                    <tbody>
            <#if files??>
            <#if files.data??>
            <#list files.data as file>
            <tr>
                <td>
                    ${file?counter}
                </td>
                <td>
                    ${file.fileNo}
                </td>
                <td>
                    ${file.fileName}
                </td>
            </tr>
            </#list>
            </#if>
            </#if>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
    </#escape>
</div>
</body>
</html>